{template "content","header"}
<script type="text/javascript">
var $catid = ''
</script>
<?php
   $catid=6;
?>
{template "content","top_connect"}
<div class="bui-box container" style="margin-bottom:15px;">
    <div class="bui-left index-channel">
        <div class="navbar-wrapper" style="padding-top:10px">
            <div class="channel">
                <a href="/" class="logo"><img src="/logo.png" alt="资酷网" style="width: 108px; height: 27px;"></a>
                <ul>
                    <li><a class="channel-item isactives active" href="{siteurl($siteid)}">首页</a></li>
                    {pc:content action="category" catid="0" num="25" siteid="$siteid" order="listorder ASC"}
                    {loop $data $r}
                    {if $r[modelid]==1}
                    <li><a class="channel-item isactives" href="{$r[url]}">{$r[catname]}</a></li>
                    {/if}
                    {/loop}
                    {/pc}
                </ul>
            </div>
        </div>
    </div>
    <div class="bui-left index-content" id="bui-left">
        <div id="fsD1" class="focus">  
            <div id="D1pic1" class="fPic">
                {pc:content action="position" posid="2" order="listorder DESC" num="6"}
                {loop $data $key $val}
                {if $n ==='1'}
                <div class="fcon" style="display:block;">
                    <a target="_blank" href="{$val['url']}"><img src="{$val['thumb']}" style="opacity: 1;"></a>
                    <span class="shadow"><a target="_blank" href="{$val['url']}">{$val['title']}</a></span>
                </div>
                {else}
                <div class="fcon" style="display:none;">
                    <a target="_blank" href="{$val['url']}"><img src="{$val['thumb']}" style="opacity:0;"></a>
                    <span class="shadow"><a target="_blank" href="{$val['url']}">{$val['title']}</a></span>
                </div>
                {/if}
                {/loop}
                {/pc}
            </div>
            <div class="fbg">  
                <div class="D1fBt" id="D1fBt"> 
                    {pc:content action="position" posid="2" order="listorder DESC" num="6"}
                    {loop $data $key $val}
                    {if $n ==='1'}
                    <a href="javascript:void(0)" hidefocus="true" target="_self" class="current"><i>1</i></a>  
                    {else}
                    <a href="javascript:void(0)" hidefocus="true" target="_self" class=""><i>{$n}</i></a> 
                    {/if}
                    {/loop}
                    {/pc} 
                </div>  
            </div>  
            <span class="prev"></span>   
            <span class="next"></span>    
        </div>
        <div class="feed-infinite-wrapper" id="infinite-wrapper">
            <div class="loading ball-pulse">
                <div></div>
                <div></div>
                <div></div>
                <span>推荐中⋅⋅⋅</span>
            </div>
            <div class="list_ul">
                <ul id="is_listul"></ul>
            </div>
            <div class="loading ball-pulse" style="display: none;">
                <div></div>
                <div></div>
                <div></div>
                <span>加载中⋅⋅⋅</span>
            </div>
        </div>
    </div>
    <div id="rightModule" class="bui-right index-right-bar">
        {template "content","right_connect"}
    </div>
</div>
<script src="{JS_PATH}headlines/koala.min.1.5.js"></script>
<script type="text/javascript">
	Qfast.add('widgets', { path: "{JS_PATH}headlines/terminator2.2.min.js", type: "js", requires: ['fx'] });  
	Qfast(false, 'widgets', function () {
		K.tabs({
			id: 'fsD1',
			conId: "D1pic1",
			tabId:"D1fBt",  
			tabTn:"a",
			conCn: '.fcon',    
			auto: 1,
			effect: 'fade',
			eType: 'click',
			pageBt:true,
			bns: ['.prev', '.next'],             
			interval:5000  
		}) 
	})  
</script>
{template "content","footer"}